
package com.sm.shoplook.service.customer;

import com.github.pagehelper.PageInfo;
import com.sm.shoplook.domain.customer.Customer;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.system.custom.CustomPageSearcheReqVo;

public interface CustomerService {

	/**
	 * @Author chenpy
	 * @Date 2018/8/18 10:29
	 * @Description 会员列表
	 * @param customPageSearcheReqVo 参数对象
	 * @return
	 */
	ApiResult<PageInfo<Customer>> getAllCustomListPage(CustomPageSearcheReqVo customPageSearcheReqVo);

	/**
	 * @Author chenpy
	 * @Date 2018/8/18 11:27
	 * @Description 按ID查询
	 * @param id
	 * @return
	 */
	ApiResult<Customer> selectCustomerById(Integer id);

	/**
	 * 商户审核
	 * @param customer
	 * @return
	 * @throws ApiException
	 */
	ApiResult updateCustomer(Customer customer) throws ApiException;
}
